package com.kxmall.order.domain.bo;

import com.kxmall.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 评论管理
 */

@Data
@ApiModel("评论管理")
@EqualsAndHashCode(callSuper = true)
public class KxStoreAppraiseBo extends BaseEntity {

    /**
     * 评论管理主键ID
     */
    @ApiModelProperty(value = "评论管理主键ID")
    private Long id;

    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品ID")
    private Long productId;

    /**
     * 规格ID
     */
    @ApiModelProperty(value = "规格ID")
    private Long productAttrId;

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /**
     * 评论内容
     */
    @ApiModelProperty(value = "评论内容")
    private String content;

    /**
     * 打分
     */
    @ApiModelProperty(value = "打分")
    private Long score;

    /**
     * 1表示已通过
     */
    @ApiModelProperty(value = "1表示已通过")
    private Long state;


}
